Sub-behaviour relations for session-based client/server systems

نویسندگان

  • Franco Barbanera
  • Ugo de'Liguoro
چکیده

We propose a refinement and a simplification of the behavioural semantics of session types, based on the concepts of compliance and subbehaviour from the theory of web contracts. We introduce three relations on a suitable class of behaviours with higher-order input/output, called “session behaviors”. Such relations, depending on each other, represent the idea of sub-behaviour from the point of view of a client, a server or a peer, respectively. A restriction of the intersection of the first two characterizes the usual sub-behaviour relation (from the literature). We then device a formal system for three subtyping relations (dubbed CSPsubtyping) for session types that takes into account the role played by a user of a channel during an interaction, so extending Gay and Hole subtyping theory. We show that our session behaviors and sub-behaviour relations provide a sound and complete semantics for CSP-subtyping (and for Gay and Hole subtyping as a by-product).

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Loosening the notions of compliance and sub-behaviour in client/server systems

In the context of “session behaviors” for client/server systems, we propose a weakening of the compliance and sub-behaviour relations where the bias toward the client (whose “requests” must be satisfied) is pushed further with respect to the usual definitions, by admitting that “not needed” output actions from the server side can be skipped by the client. Both compliance and sub-behaviour relat...

متن کامل

Retractability, games and orchestrators for session contracts

Session contracts is a formalism enabling to investigate client/server interaction protocols and to interpret session types. We extend session contracts in order to represent outputs whose actual sending in an interaction depends on a third party or on a mutual agreement between the partners. Such contracts are hence adaptable, or as we say “ affectible”. In client/server systems, in general, c...

متن کامل

A Hybrid Approach to Counter Application Layer Ddos Attacks

Distributed Denial-of-Service (DDoS) attacks are a growing threat across Internet, disrupting access toInformation and services. Now a days, these attacks are targeting the application layer. Attackers are employing techniques that are very difficult to detect and mitigate. This paper proposes a hybrid detection scheme based on the trust information and information theory based metrics. Initial...

متن کامل

Persistent Client-Server Database Sessions

Database systems support recovery, providing high database availability. However, database applications may lose work because of a server failure. In particular, if a database server crashes, volatile server state associated with a client application’s session is lost and applications may require operator-assisted restart. This prevents masking server failures and degrades application availabil...

متن کامل

Development of Session Management Mechanism for Cellular Phone with WWW Connection

The needs for accessibility of cellular phones to Web based client-server systems are increasing. For this access, efficient management of the context data must be implemented on the cellular phone. However, physical restrictions of the cellular phone make it difficult to manage context data by applying the conventional methods. Additionally, the conventional methods do not show sufficient perf...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Mathematical Structures in Computer Science

دوره 25  شماره 

صفحات  -

تاریخ انتشار 2015